package service;

import java.util.List;

import imageUtil.Page;
import model.Supplier;
public interface SupplierService {

	public int findByCount() throws Exception;

	public List<Supplier> findByAll(Page page) throws Exception;
	
	public boolean saveSupplier(Supplier supplier) throws Exception;
	
	public boolean updateSupplier(Supplier supplier) throws Exception;
	
	public List<Supplier> findByName() throws Exception;
	
	public String findNameById(int id) throws Exception;
	
}
